package cn.larry.aop.config.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;

/**
 * 仅within。作用是匹配某个类中的所有public方法。
 * 
 * @author Larry
 *
 */
@Profile("within")
@Aspect
@Component
public class WithinAspect {

	@Pointcut("within(cn.larry.aop.service.within..*)")
	public void withinServiceLayer() {}

}
